#pragma once
#ifndef _LEFTCENTERRIGHT_H_
#define _LEFTCENTERRIGHT_H_

#include "Lane.h"
#include <vector>
#include "..\tools\calgeometry.h"
#include <algorithm>
#include <math.h>
#include <unordered_map>

namespace OpenDrive {

	class LeftCenterRight
	{
	public:
		LeftCenterRight();
		~LeftCenterRight();
		Lane& getLane(int laneId);
		int getLaneSize() const;
		std::unordered_map<int, Lane>& getLanes();
		bool laneExist(int laneId) const;
		void addLanes(const Lane &lane);


	private:
		std::unordered_map<int, Lane> lanes;
	};

}

#endif // !_LEFTCENTERRIGHT_H_
